<style scoped>

</style>
<template>
      <LockDatePicker
        type='daterange'
        size="default"
        format="yyyy/MM/dd"
        transfer
        placeholder="选择日期"
        :startTime.sync='startTimePrexy'
        :endTime.sync='endTimePrexy'
        v-bind='$attrs'
      ></LockDatePicker>
</template>
<script>
import LockDatePicker from './index' 

export default {
    components: {LockDatePicker},
    props:{
            startTime: {
                default: ''
            },
            endTime:{
                default: ''
            },
    },
    computed:{
        startTimePrexy:{
            get(){return this.startTime},
            set(data){ this.$emit('update:startTime', data) }
        },
        endTimePrexy:{
            get(){return this.endTime},
            set(data){ this.$emit('update:endTime', data) }
        }
    }
}
</script>
